package com.rn.ddd.infrastructure.engine;

public interface OrderEngine {

    <T> Result<T> sendEvent(OrderEvent orderEvent) throws Exception;

    <T> Result<T> sendEvent(OrderEvent orderEvent, Order order) throws Exception;
}
